Repository navigation
fix(ios): mark the keyboard intro sheets as shown before a simulator launch - #5062
Conversation
|
Thanks for working on the keyboard intro sheets. At 7a4865d, the fix is not proven on the OS that issue #4569 names. Could Not verified here: tests and device runs were not performed, and the iOS 27.2 transcript and the 8-12 s write timing come from the author. Not verified here: the keys and domain on iOS 26.x, and whether Only the two 'Body rules' runs are not passing, and both are cancelled runs superseded by PR body edits. That job checks the PR description, not code, and the diff does not touch it. The other 16 checks pass. There are no conflicts. The next step before merge is the live iOS 26.2 run described above. |
|
|
Thanks for the fixes. At ad03825 both earlier findings are closed, and the code looks good to me. No conflicts are known. The only non-passing check is Body rules, which was cancelled after the PR description edits; it checks the description, and the diff touches no workflow or body-rules code, so it looks unrelated. The other 15 checks pass. Not verified here: the iOS 26.2 and 27.2 base and head transcripts and the read-back of both keys on 26.2 are author-supplied, no device run was performed in this review, the 8-12 s first-boot write timing is the author's measurement, and tests were not run locally. Nothing else blocks this PR, so it is ready for the maintainer. |
ad03825 to
6f362aa
Compare
|
Rebased onto main at c8555bd (after #5081); the head is now 6f362aa.
On an iPhone 17 Pro simulator, iOS 27.2, with English and Polish keyboards and both keys removed from The keyboard shows EN with the globe key, and neither sheet appears. |
|
Thanks for the rebase. The earlier conflict is resolved at 6f362aa, the rebased patch is logically the same, and no code problems remain. All 17 checks pass. Not verified here: no device run or local test run was performed, and the iOS 26.2 (at ad03825) and 27.2 (at the current head) transcripts are author-supplied. This is ready for a maintainer. |
|
This branch now conflicts with main. Please rebase onto current main; the next review only checks that the rebase keeps the reviewed change intact. |
…d drop the remote key cache
6f362aa to
4ec0d4b
Compare
|
Rebased onto main (9f7751e) as 4ec0d4b. |
|
Thanks for the update. No code problems were found at 4ec0d4b, and the required evidence is satisfied. The conflict with main raised in the earlier comment is resolved: the added and removed lines of the change are identical, and upstream changes under Not verified here: no device run or local test run was performed, and the reported local gate and mutant results were not reproduced. The iOS 26.2 base and head evidence comes from ad03825, the iOS 27.2 transcript comes from 6f362aa, and the run at 4ec0d4b is available only as the author summary. The Runner Build (tvOS, visionOS and watchOS) failure is likely unrelated. The parallel restore-and-build step hit an Nothing from the code review blocks the merge. If the Runner Build job is required, it needs a rerun, and then maintainer review comes next. |
Summary
Part of #4569. Left: a snapshot/
alertfallback for a sheet that still appears.On a fresh simulator, the first text entry brings up the swipe-typing introduction, and on a keyboard with a second language the "Type English and Polish" tip. Both cover the keyboard. iOS 26.2 and 27.2 store them in
com.apple.keyboard.preferencesasDidShowContinuousPathIntroductionandMultilingualKeyboardTip, read back after each sheet.openwrites both keys after boot, once per open, alongside the accessibility preparation. It skips keys this host's copy of the preferences already has, so a local simulator writes after an erase. A Limrun simulator, which the host cannot read, gets both on every open; both preparations share one write helper. A failed write only warns. Writes get 15 s: one took 8-12 s right after a first boot, and a write stopped at its timeout does not land.Rejected: dismissing the sheets after they appear, a check on every text entry.
Before / after
Newly erased iPhone 17 Pro simulator, iOS 26.2, English and Polish keyboards,
node bin/agent-device.mjs. Base, built at 63fe1b6:Head, built at ad03825, same setup:
On iOS 27.2, base shows the swipe-typing sheet; head shows neither, also with Polish, rechecked at 4ec0d4b.
Validation
4ec0d4bce:check:affected --run --headpassed format, lint, typecheck, layering, fallow, build and vitest-related; the laterpnpm gatestages (provider-integration, command-docs, docs-links, docs-prose and the rest) passed.ios-simulator-keyboard.test.tsand Limrun tests; mutants on the shared write helper, once-per-open, timeout, and failure handling each fail a test.